<h1>Editar Almacen</h1>
<% form_for :almacen, @almacen, :url => {:action => 'update', :id => @almacen} do |almacen_form| %>
  <%= error_messages_for :almacen %>
  <%= render :partial => "form", :locals => {:a => almacen_form} %>
  <p><%= submit_tag "Guardar" %></p>
<% end %>
<p><%= link_to "Regresar", :action => "index" %></p>